#include "Framework/Win32/Win32LogService.h"

#include <iostream>

namespace Orca {

	//--------------------------------------------------------------------------
	ORCA_IMPLEMENT_SERVICE(LogService)

	//--------------------------------------------------------------------------
	Win32LogService::Win32LogService() {

	}

	//--------------------------------------------------------------------------
	Win32LogService::~Win32LogService() {

	}

	//--------------------------------------------------------------------------
	bool Win32LogService::startup() {

		return true;
	}

	//--------------------------------------------------------------------------
	void Win32LogService::step(float dt) {

	}

	//--------------------------------------------------------------------------
	void Win32LogService::shutdown() {

	}

	//--------------------------------------------------------------------------
	void Win32LogService::logMessage(const Str &str, MODE mode) {

		if(mode == ERROR)
			std::cout << "----------ERROR----------\n";

		std::cout << str << "\n";
	}

	//--------------------------------------------------------------------------
}